package com.yin.waimai.dto;

import com.yin.waimai.enums.DeliveryPersonStatus;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 配送人员数据传输对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DeliveryPersonDTO {
    private String id;
    private String name;
    private String phone;
    private Double[] currentLocation; // [经度, 纬度]
    private DeliveryPersonStatus status;
}